package tasks;

import java.util.Map;
import org.eclipse.core.runtime.IPath;
import exceptions.TaskException;

public interface ITask {
	
	boolean isActive();
	
	void perform(Map<String,String> params) throws TaskException;
	
	void undo();
	
	String getDescription();
	
	Error getLastError();
	
	String getTargetModuleName();

	Map<String, String> getParameters();
	
	String getTaskName();

	IPath getPath();
}
